package com.surprise.db.po;

import javax.persistence.Table;

import com.surprise.base.bo.IEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Code.java
 * @author nick
 * @since 2015年5月2日
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name="code")
public class Code extends IEntity {
	private long itemid = 0L;
	private long userid = 0L;
	private long shopid = 0L;
	private int type = 0;
	private String code = "";
	private Long expiretime;
	private int active = 0;
}
